CRPEJob::GetLineHeight

Syntax
GetLineHeight (sectionCode SMALLINT, lineN SMALLINT) RETURNING BOOLEAN, 
SMALLINT, SMALLINT
Parameters

sectionCode

Specifies the Section Codes, for the section of the report for which you want to retrieve line height.

lineN

Specifies the 0-based line number within the specified section for which you want to retrieve the height. The first line in a section is line 0, the second is 1, etc. Use PEP_ALLLINES to retrieve information on all lines in a section.

Remarks

Gets line height and ascent information for a specified line in a selected section of the report. You can change and pass back a new line height and ascent using CRPEJob::SetLineHeight.

Return Value

BOOLEAN

TRUE if the call is successful, FALSE if something goes wrong.

SMALLINT

Retrieves the height, in twips, of the specified line.

SMALLINT

Retrieves the line ascent, in twips, of the specified line. Line ascent is the distance from the baseline of the font to the top of the line space.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com